#!/usr/local/python/bin/python
# coding=utf-8
__author__ = 'Junjie.M'


class ExecLog:
    shellCode = ''
    bizCode = ''
    bizDate = ''
    param = ''
    crtTime = ''
    finTime = ''
    status = ''
    note = ""
    bizType = ''

    def __init__(self, shellCode, bizCode, bizDate, param, crtTime, finTime, status, note, bizType):
        self.bizCode = bizCode
        self.shellCode = shellCode
        self.bizDate = bizDate
        self.param = param
        self.crtTime = crtTime
        self.finTime = finTime
        self.status = status
        self.note = note
        self.bizType = bizType

    def to_dict(self):
        return {
            'shellCode': self.shellCode,
            'bizCode': self.bizCode,
            'bizDate': self.bizDate,
            'param': self.param,
            'crtTime': self.crtTime,
            'finTime': self.finTime,
            'status': self.status,
            'note': self.note,
            'bizType': self.bizType
        }